var express = require('express');
var router = express.Router();

var mongoose = require('mongoose');

/* GET home page. */
router.get('/', function(req, res, next) {
  res.render('home/home', { title: 'Express' });
});
router.get('/home', function(req, res, next) {
  res.render('home/home', { title: 'Express' });
});

router.get('/product', function(req, res, next) {
  res.render('home/product', { title: 'Express' });
});


router.get('/news', function(req, res, next) {
  res.render('home/news', { title: 'Express' });
});

router.get('/imgsViewer', function (req, res, next) {
    res.render('home/imgsViewer', { title: 'Express' });
});

router.get('/newsDetail', function (req, res, next) {
    res.render('home/newsDetail', { title: 'Express' });
});

module.exports = router;
